package main

import (
	"fmt"
)

func main() {
	ch := make(chan string)
    senddata(ch)

}

func senddata(ch chan string)  {
    ch <- "QQQQQQQQQ"
    ch <- "wwwwwwwww"
    ch <- "eeeeeeeee"
    ch <- "rrrrrrrrr"
    ch <- "ttttttttt"
}

func receive(ch chan string)  {
	for  {
		re := <-ch
		fmt.Println(re)
	}
}
